import Vue from 'vue'
import Router from 'vue-router'
import index from '../views/index.vue';
Vue.use(Router)

//主路由
const routes = [
    {
        path: '/',
        component: index
    }
]

const router = new Router({
    hashbang: true,
    history: true,
    transitionOnLoad: true,
    routes
});
export default router;